package com.eco.fanliapp.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.eco.fanliapp.dao.SyPageSetupMapper;
import com.eco.fanliapp.entity.SyPageSetup;
import com.eco.fanliapp.service.ISyPageSetupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 页面设置开关 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-08-14
 */
@Service
public class SyPageSetupServiceImpl extends ServiceImpl<SyPageSetupMapper, SyPageSetup> implements ISyPageSetupService {

    @Autowired
    private SyPageSetupMapper syPageSetupMapper;


    @Override
    public List<SyPageSetup> selectList() {
        QueryWrapper queryWrapper = new QueryWrapper();
        return syPageSetupMapper.selectList(queryWrapper);
    }
}
